package net.linxuehua.server.dto;/**
 * @author chenyan
 * @createTime 2021/1/12 9:39
 * @description description
 */

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import net.linxuehua.server.po.Food;

import java.util.List;

/**
 * @description: TODO
 * @author: mufeng
 * @create: 2021/1/12 9:39
 */
@Data
public class MenuListDTO {


    /**
     * 图片
     */
    @ApiModelProperty(value = "图片", dataType = "String")
    private String img;

    /**
     * 名称
     */
    @ApiModelProperty(value = "名称", dataType = "String")
    private String name;

    /**
     * 描述
     */
    @ApiModelProperty(value = "描述", dataType = "String")
    private String description;

    /**
     * 价格
     */
    @ApiModelProperty(value = "价格", dataType = "int")
    private int price;

    /**
     * 食材id
     */
    @ApiModelProperty(value = "食材", dataType = "List<Food>")
    private List<Food> foodList;

    /**
     * 分类
     */
    @ApiModelProperty(value = "分类名称", dataType = "String")
    private String sortName;

    /**
     * 烹饪时间
     */
    @ApiModelProperty(value = "烹饪时间", dataType = "int")
    private int time;

}
